﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IList<Ornament.Messages.Info>>" %>
<table class="table">
    <thead>
        <tr>
            <th>
            </th>
            <th>
                类型
            </th>
            <th>
                状态
            </th>
            <th>
                信息发生时间
            </th>
            <th>
                发布人
            </th>
            <th>
                发布时间
            </th>
            <th>
                创建时间
            </th>
        </tr>
    </thead>
    <%foreach (var info in this.Model)
      { %>
    <tr>
        <td>
            <a href="<%=this.Url.Action("Detail")+"/"+info.Id%>">详细</a> <a href='<%=this.Url.Action("ReaderList")+"/"+info.Id%>'>
                读者列表</a>
        </td>
        <td>
            <%=info.Type %>
        </td>
        <td>
            <%=info.State %>
        </td>
        <td>
            <%=info.InfoTime%>
        </td>
        <td>
            <%=info.Publisher %>
        </td>
        <td>
            <%=info.PublishTime %>
        </td>
        <td>
            <%=info.CreateTime %>
        </td>
    </tr>
    <%} %>
</table>
